<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="../layout/base_resource.jsp" %>
<link rel="stylesheet" href="${basePath}assets/jquery-ui/jquery-ui.css"/>
<script type="text/javascript" src="${basePath}assets/jquery-ui/jquery-ui.js"></script>
<script type="text/javascript" src="${basePath}assets/js/iframe.js"></script>
<script type="text/javascript" src="${basePath}assets/js/drgs_manage/drgs_group_page.js"></script>


<div class="loc">
	<h3>DRGs分组</h3>
	<ul class="loc_loc"><li> 当前位置：DRGs管理 > DRGs分组</li>
	</ul>
</div>
<div class="list_con_table">
	 
   <div class="search_table">
   <input type="hidden" id="basePath" value="${basePath }"/>
   <form id="queryForm">
   	<input type="hidden" name="currentPage" value="1"/>
    <ul>
    <li class="Label_1">住院号：&nbsp;</li>
    <li class="Label_2"><input class="input_box" type="text" name="onlyId"/></li>
    <li class="Label_1">病案号：&nbsp;</li>
    <li class="Label_2"><input class="input_box" type="text" name="mrId"/></li>
    <li class="Label_1">姓名：&nbsp;</li>
    <li class="Label_2"><input class="input_box" type="text" name="patientName" /></li>
    <li class="Label_1">身份证号：&nbsp;</li>
    <li class="Label_2"><input class="input_box" type="text" name="idNumber"/></li>
    <li class="Label_1">出院日期：&nbsp;</li>
    <li class="Label_2">
    	<input class="input_box" name="outHospitalStartDate" type="text" style="width:46%" onFocus="WdatePicker()"/>-<input class="input_box" type="text" style="width:46%" name="outHospitalEndDate" onFocus="WdatePicker()" />
    </li>
    <li class="Label_1">出院科室：&nbsp;</li>
    <li class="Label_2">
    	<select name="outHospitalDeptCode" class="input_box">
    		
    	</select>
    </li>
    <li class="Label_5">
     <a id="queryBtn" onclick="queryBtnClick()">查询</a>
     <a href="${basePath}drgs_manage/import_drgs_group_page">分组导入</a>
    </li>
    </ul>
    </form>
   </div>
   <h5 align="center" id="export_h"></h5>
    <table style="width:934px; float:left; border-collapse:collapse;" id="query_show_table">
      <thead>
	      <tr>
	      	  <td class="tdLabel_4">住院号</td>
		      <td class="tdLabel_4">病案号</td>
		      <td class="tdLabel_4">住院次数</td>
		      <td class="tdLabel_4">姓名</td>
		      <td class="tdLabel_4">身份证号</td>
		      <td class="tdLabel_4">出院科室</td>
		      <td class="tdLabel_4">出院日期</td>
		      <td class="tdLabel_4">离院方式</td>
		      <td class="tdLabel_4">是否质控</td>
		      <td class="tdLabel_4">是否编码</td>
		      <!-- <td class="tdLabel_4">DRGs分组</td> -->
		      <td class="tdLabel_4">操作</td>
	      </tr>
      </thead>
      <tbody>
      	 <tr hidden="hidden" id="template_tr">
      	  <td class="tdLabel_5"><span class="only_id"></span></td>
	      <td class="tdLabel_5"><span class="mr_id"></span></td>
	      <td class="tdLabel_5"><span class="visit_number"></span></td>
	      <td class="tdLabel_5"><span class="patient_name"></span></td>
	      <td class="tdLabel_5"><span class="id_number"></span></td>
	      <td class="tdLabel_5"><span class="out_dept_name"></span></td>
	      <td class="tdLabel_5"><span class="out_hospital_date"></span></td>
	      <td class="tdLabel_5"><span class="out_hospital_type_name"></span></td>
	      <td class="tdLabel_5"><span class="quality_control_status_name"></span></td>
	      <td class="tdLabel_5"><span class="coding_status_name"></span></td>
	      <!-- <td class="tdLabel_5"><span class="drgs_status_name"></span></td> -->
	      <td class="tdLabel_5" data-type="operate_td">
	      	<!-- <a class="operate" onclick="pageIndexCoding(this)" title="首页编码">首页编码&nbsp;</a>&nbsp;/&nbsp;
	      	<a onclick="pageIndexShow(this)" title="首页预览">首页预览&nbsp;</a> -->
	      </td>
	     </tr>
      </tbody>
     </table>
 <div id="pageList" class="pageList">
    <ul class="pagination clearfix" id="page_plus"></ul>
    <div class="pagination">
        <div>总共：<b id="totalPage">0</b> 条信息    当前页是第 <b id="currentPage">0/0</b>　页</div>
    </div>
</div>
</div>
 

<div hidden="hidden">
	<div id="layer_drgs_group_div">
		<form>
			<input type="hidden" name="visitGuid" />
			<div class="search_table" style="width: 600px;">
			 <ul>
	   
			    <li class="Label_1" style="width: 30%">是否纳入DRGs管理病例：&nbsp;</li>
			    <li class="Label_2" style="width: 70%">
			    	<input type="radio" class="radio_cl" name="whetherDRGsManageCode" title="是 " value="1"/>
						是 
					<input type="radio" class="radio_cl" name="whetherDRGsManageCode" title="否" value="2"/>
						否 
					<input type="hidden" name="whetherDRGsManageName"/>
			    </li>
			    <li class="Label_1" style="width: 30%">我院DRGs代码：&nbsp;</li>
			    <li class="Label_2" style="width: 70%">
			    	<input class="input_box" type="text" name="localDRGsShow"/>
			    	<input type="hidden" name="localDRGsCode">
					<input type="hidden" name="localDRGsName">
			    </li>
			    <li class="Label_1" style="width: 30%">我院DRGs组权重：&nbsp;</li>
			    <li class="Label_2" style="width: 70%">
			    	<input class="input_box" type="text" name="localDRGsGroupWeight"/>
			    </li>
			     <li class="Label_1" style="width: 30%">本例DRGs风险分组：&nbsp;</li>
			    <li class="Label_2" style="width: 70%">
			    	<select name="localDRGsRiskGroupCode" class="input_box" data-type="localDRGsRiskGroup">
					</select>
					<input type="hidden" name="localDRGsRiskGroupName">
			    </li>
			    <li class="Label_1" style="width: 30%">重症监护室时间(天)：&nbsp;</li>
			    <li class="Label_2" style="width: 70%">
			    	<input class="input_box" type="text" name="icuNumberOfDay"/>
			    </li>
			    <li class="Label_1" style="width: 30%">有创呼吸机使用时间(时)：&nbsp;</li>
			    <li class="Label_2" style="width: 70%">
			    	<input class="input_box" type="text" name="useVentilatorNumberOfHour"/>
			    </li>
			    <li class="Label_1" style="width: 30%">本病例DRGs总权重：&nbsp;</li>
			    <li class="Label_2" style="width: 70%">
			    	<input class="input_box" type="text" name="localDRGsGroupTotalWeight"/>
			    </li>
			    <li class="Label_1" style="width: 30%">是否MDT：&nbsp;</li>
			    <li class="Label_2" style="width: 70%">
			    	<input type="radio" class="radio_cl" name="whetherMDTCode" title="是 " value="1"/>
						是 
					<input type="radio" class="radio_cl" name="whetherMDTCode" title="否" value="2"/>
						否 
					<input type="hidden" name="whetherMDTName"/>
			    </li>
			   	<li class="Label_5">
			     	<a onclick="layerDRGsGroupClick()">确认</a>
			    </li>
		    </ul>
		    </div>
		</form>
	</div>
</div>


